package com.example.backend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("wm_gwc")
public class GouWuChe {
    /**
     * 购物车id
     */
    @TableId(value = "gwcid", type = IdType.AUTO)
    private Integer gwcid;
    /**
     * 用户id
     */
    private Integer yhid;
    /**
     * 商家id
     */
    private Integer sjid;
    /**
     * 菜品集合
     */
    private String cpl;
}
